﻿function DigitInput(el,ev) {
    var event = ev || window.event;
    var currentKey = event.charCode||event.keyCode;
        if (currentKey!=8 && currentKey != 46 && (currentKey<37 || currentKey>40) && (currentKey<48 || currentKey>57) && (currentKey<96 || currentKey>105))
            if (window.event)
                event.returnValue=false;
            else
                event.preventDefault();

}